package android_design_mode.chapter06_abstract_factory.audifactory;

public class Client {

    public static void main(String[] args) {

        CarFactory factoryQ3 = new Q3Factory();
        factoryQ3.createBrake().brake();
        factoryQ3.createEngine().engine();
        factoryQ3.createTire().tire();

        System.out.println("------------------------");
        CarFactory factoryQ7 = new Q7Factory();
        factoryQ7.createTire().tire();
        factoryQ7.createEngine().engine();
        factoryQ7.createTire().tire();

    }

}
